<?php
ini_set('display_errors','on');
error_reporting(E_ALL);
session_start();
$_SESSION['mid'] = 1;

define('SITE_PATH'	, getcwd());

//define('SITE_DOMAIN', 'hi.huawei.com');
define('SITE_DOMAIN', $_SERVER['HTTP_HOST']);

require(SITE_PATH.'/core/sociax.php');

//实例化一个网站应用实例
$App = new App();
$App->run();
?>